package com.ap.core.storedprocedure.api;

import java.sql.SQLException;
import java.util.List;

/**
 * Callback from query results.
 *
 */
public interface QueryCallback {
    
    /**
     * Calls back with the result set.
     * 
     * @param results results of OUT parameters
     * @throws java.sql.SQLException In case of SQL exception.
     */
    void onResults(List<Object> results) throws SQLException;

}
